package com.turman.coroutionsample.view

import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
import androidx.compose.material.Surface
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.turman.coroutionsample.ui.theme.CoroutionSampleTheme

@Composable
fun HiltView() {
    CoroutionSampleTheme {
        Surface(modifier = Modifier.fillMaxSize()) {
            LazyVerticalGrid(columns = GridCells.Fixed(3), content = {})
        }
    }
}

@Composable
fun flowGridItems(
    count: Int,
    itemContent: @Composable (index: Int) -> Unit,
) {
    repeat(count) {
        itemContent(it)
    }
}












